package com.jjsj.mall.service;

import com.jjsj.mall.entity.MallSetting;

import java.util.List;

/**
 * 商城设置Service接口
 *
 * @author www.jjsjshop.com
 * @date 2022-10-10
 */
public interface IMallSettingService {
    /**
     * 查询商城设置
     *
     * @param id 商城设置ID
     * @return 商城设置
     */
    public MallSetting selectMallSettingById(Long id);

    /**
     * 查询商城设置列表
     *
     * @param mallSetting 商城设置
     * @return 商城设置集合
     */
    public List<MallSetting> selectMallSettingList(MallSetting mallSetting);

    /**
     * 新增商城设置
     *
     * @param mallSetting 商城设置
     * @return 结果
     */
    public int insertMallSetting(MallSetting mallSetting);

    /**
     * 修改商城设置
     *
     * @param mallSetting 商城设置
     * @return 结果
     */
    public int updateMallSetting(MallSetting mallSetting);

    /**
     * 批量删除商城设置
     *
     * @param ids 需要删除的商城设置ID
     * @return 结果
     */
    public int deleteMallSettingByIds(Long[] ids);

    /**
     * 删除商城设置信息
     *
     * @param id 商城设置ID
     * @return 结果
     */
    public int deleteMallSettingById(Long id);
}
